package com.ruoyi.dl.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 撤销订单记录对象 dl_orders_cxlog
 * 
 * @author ruoyi
 * @date 2021-01-09
 */
public class DlOrdersCxlog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 定单id */
    private Integer ordersId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String ordersNumber;

    /** 接单人id */
    private Integer userId;

    /** 审核状态（0：审核中，1：通过，2：驳回） */
    @Excel(name = "审核状态", readConverterExp = "0=：审核中，1：通过，2：驳回")
    private Integer type;

    private DlUser dlUser;


    public DlUser getDlUser() {
        return dlUser;
    }

    public void setDlUser(DlUser dlUser) {
        this.dlUser = dlUser;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setOrdersId(Integer ordersId) 
    {
        this.ordersId = ordersId;
    }

    public Integer getOrdersId() 
    {
        return ordersId;
    }
    public void setOrdersNumber(String ordersNumber) 
    {
        this.ordersNumber = ordersNumber;
    }

    public String getOrdersNumber() 
    {
        return ordersNumber;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ordersId", getOrdersId())
            .append("ordersNumber", getOrdersNumber())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("type", getType())
            .append("remark", getRemark())
            .toString();
    }
}
